package com.msxt.dto;

import java.util.Date;

public class ZaixiankefuDTO {
    private Long id;
    private String bianhao;
    private String biaoti;
    private String fengmian;
    private String shangjiazhanghao;
    private String shangjiamingcheng;
    private Date zixunshijian;
    private String yonghuzhanghao;
    private String yonghuxingming;
    private Date addtime;

    // 数据库原始字段
    private String zNeirong;          // zaixiankefu表的neirong字段
    private String zShhf;             // zaixiankefu表的shhf字段
    private Long zNeirongTime;        // zaixiankefu表的neirong时间戳
    private Long zShhfTime;           // zaixiankefu表的shhf时间戳
    private String chatUserMessages;   // chat_message中用户的消息
    private String chatMerchantMessages; // chat_message中商家的消息

    // 合并后的数组
    private String[] userMessages;
    private String[] merchantMessages;

    // 使用 ChatMessage 类替代 ChatMessageItem
    private ChatMessage[] allMessages;

    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public String getBianhao() { return bianhao; }
    public void setBianhao(String bianhao) { this.bianhao = bianhao; }

    public String getBiaoti() { return biaoti; }
    public void setBiaoti(String biaoti) { this.biaoti = biaoti; }

    public String getFengmian() { return fengmian; }
    public void setFengmian(String fengmian) { this.fengmian = fengmian; }

    public String getShangjiazhanghao() { return shangjiazhanghao; }
    public void setShangjiazhanghao(String shangjiazhanghao) { this.shangjiazhanghao = shangjiazhanghao; }

    public String getShangjiamingcheng() { return shangjiamingcheng; }
    public void setShangjiamingcheng(String shangjiamingcheng) { this.shangjiamingcheng = shangjiamingcheng; }

    public Date getZixunshijian() { return zixunshijian; }
    public void setZixunshijian(Date zixunshijian) { this.zixunshijian = zixunshijian; }

    public String getYonghuzhanghao() { return yonghuzhanghao; }
    public void setYonghuzhanghao(String yonghuzhanghao) { this.yonghuzhanghao = yonghuzhanghao; }

    public String getYonghuxingming() { return yonghuxingming; }
    public void setYonghuxingming(String yonghuxingming) { this.yonghuxingming = yonghuxingming; }

    public Date getAddtime() { return addtime; }
    public void setAddtime(Date addtime) { this.addtime = addtime; }

    public String getZNeirong() { return zNeirong; }
    public void setZNeirong(String zNeirong) { this.zNeirong = zNeirong; }

    public String getZShhf() { return zShhf; }
    public void setZShhf(String zShhf) { this.zShhf = zShhf; }

    public Long getZNeirongTime() { return zNeirongTime; }
    public void setZNeirongTime(Long zNeirongTime) { this.zNeirongTime = zNeirongTime; }

    public Long getZShhfTime() { return zShhfTime; }
    public void setZShhfTime(Long zShhfTime) { this.zShhfTime = zShhfTime; }

    public String getChatUserMessages() { return chatUserMessages; }
    public void setChatUserMessages(String chatUserMessages) { this.chatUserMessages = chatUserMessages; }

    public String getChatMerchantMessages() { return chatMerchantMessages; }
    public void setChatMerchantMessages(String chatMerchantMessages) { this.chatMerchantMessages = chatMerchantMessages; }

    public String[] getUserMessages() { return userMessages; }
    public void setUserMessages(String[] userMessages) { this.userMessages = userMessages; }

    public String[] getMerchantMessages() { return merchantMessages; }
    public void setMerchantMessages(String[] merchantMessages) { this.merchantMessages = merchantMessages; }

    public ChatMessage[] getAllMessages() { return allMessages; }
    public void setAllMessages(ChatMessage[] allMessages) { this.allMessages = allMessages; }
}